import request from '@/utils/request'

export function getboard (parameter) {
  return request({
    url: '/boss/icf/bulletinBoard',
    method: 'post',
    data: parameter
  })
}

export function bulletinBoardRight (parameter) {
  return request({
    url: '/boss/icf/bulletinBoardRight',
    method: 'post',
    data: parameter
  })
}

export function boardSummary (parameter) {
  return request({
    url: '/boss/project/info/boardSummary',
    method: 'get',
    params: parameter
  })
}

export function boardSummaryOnTime (parameter) {
  return request({
    url: '/boss/project/info/boardSummaryOnTime',
    method: 'get',
    params: parameter
  })
}

// 知情签署统计
export function boardIcfDistribution (parameter) {
  return request({
    url: '/boss/dashboard/icfDistribution',
    method: 'get',
    params: parameter
  })
}

// 完成知情趋势图
export function icfFinishGraphDistribution (parameter) {
  return request({
    url: '/boss/dashboard/icfFinishGraphDistribution',
    method: 'get',
    params: parameter
  })
}

// 参与者意向趋势图
export function ptsGraphDistribution (parameter) {
  return request({
    url: '/boss/dashboard/ptsGraphDistribution',
    method: 'get',
    params: parameter
  })
}

// 视频沟通统计
export function videoStatusDistribution (parameter) {
  return request({
    url: '/boss/dashboard/videoStatusDistribution',
    method: 'get',
    params: parameter
  })
}

// 参与者概况
export function ptsStatusDistribution (parameter) {
  return request({
    url: '/boss/dashboard/ptsStatusDistribution',
    method: 'get',
    params: parameter
  })
}

// 受试者分布/参与者分布情况
export function ptsResearchDistribution (parameter) {
  return request({
    url: '/boss/dashboard/ptsResearchDistribution',
    method: 'get',
    params: parameter
  })
}

// 参与者统计
export function ptsStatistics (parameter) {
  return request({
    url: '/boss/dashboard/ptsStatistics',
    method: 'get',
    params: parameter
  })
}
